package com.pojo;

import java.util.Date;

public class Consumption {
    private Integer id;
    private Integer user_id;
    private String consumption_type;
    private Double quantity;
    private Double amount;
    private Date consumption_time; // 必须是java.util.Date类型
    private String remark;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getUser_id() {
        return user_id;
    }

    public void setUser_id(Integer user_id) {
        this.user_id = user_id;
    }

    public String getConsumption_type() {
        return consumption_type;
    }

    public void setConsumption_type(String consumption_type) {
        this.consumption_type = consumption_type;
    }

    public Double getQuantity() {
        return quantity;
    }

    public void setQuantity(Double quantity) {
        this.quantity = quantity;
    }

    public Double getAmount() {
        return amount;
    }

    public void setAmount(Double amount) {
        this.amount = amount;
    }

    public Date getConsumption_time() {
        return consumption_time;
    }

    public void setConsumption_time(Date consumption_time) {
        this.consumption_time = consumption_time;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }
}